package cn.com.roy.thread.t3_1_11.p_c_allWait;

public class ThreadP extends Thread{
    private P p;
    public ThreadP(P p){
        this.p = p;
    }
    public void run() {
        while (true){
            p.setValue();

        }
    }
}
